package com.hx.staticState.demo2;

/**
 * @Author： Huathy
 * @ClassPath： com.hx.staticState.demo2.Client
 * @Date： 2021-02-04 10:57
 * @Description：
 */
public class Client {
    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();
        UserServiceImplProxy userServiceProxy = new UserServiceImplProxy();
        userServiceProxy.setUserService(userService);
        userServiceProxy.add();
        userServiceProxy.update();
        userServiceProxy.query();
        userServiceProxy.delete();
    }
}
